<template>
 <div>
  {{ss}}
  <Father></Father>
 </div>
</template>
<script>
import Father from './provide/Father.vue'
export default{
  components:{
    Father
  },
  provide(){
    return{
       ss:this.ss,
       func:this.func
    }
  },
    data () {
        return {
            ss:'我是首代'
        }
    },
    created () {
    },
    computed:{
    },
    methods:{
      func(msg){
        this.ss = msg
      }
    }
}
</script>
<style lang='less'  scoped>
    
</style>
